home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-09-28 | 1.5 KB | 62 lines | [TEXT/CWIE] |
- /*
- File: ISpLQuitWindow.cp
-
- Contains: xxx put contents here xxx
-
- Version: xxx put version here xxx
-
- Copyright: © 1998 by Apple Computer, Inc., all rights reserved.
-
- File Ownership:
-
- DRI: xxx put dri here xxx
-
- Other Contact: xxx put other contact here xxx
-
- Technology: xxx put technology here xxx
-
- Writers:
-
- (BWS) Brent Schorsch
-
- Change History (most recent first):
-
- <3> 7/17/98 BWS add header and change creator for SDK
- */
-
- /*************************************************************************************
-
- File: ISpLQuitWindow.cp
-
- Copyright © 1996, 1997, 1998 Apple Computer, Inc., All Rights Reserved
-
-
- You may incorporate this sample code into your applications without
- restriction, though the sample code has been provided "AS IS" and the
- responsibility for its operation is 100% yours. However, what you are
- not permitted to do is to redistribute the source as "DSC Sample Code"
- after having made changes. If you're going to re-distribute the source,
- we require that you make it clear in the source that the code was
- descended from Apple Sample Code, but that you've made changes.
-
- *************************************************************************************/
-
- #include "ISpLQuitWindow.h"
- #include "ISpTestGlobals.h"
- #include <LApplication.h>
-
- LQuitWindow::LQuitWindow(LStream *inStream) : LWindow(inStream)
- {
- }
-
- LQuitWindow *LQuitWindow::CreateLQuitWindowStream(LStream *inStream)
- {
- return (new LQuitWindow(inStream));
- }
-
- void LQuitWindow::ClickInGoAway(const EventRecord &inMacEvent)
- {
- inMacEvent;
-
- gMyApp->DoQuit();
- }